package com.gdou.teaching.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @ProjectName: teaching
 * @Package: com.gdou.teaching.vo
 * @ClassName: ExperimentVO
 * @Author: carrymaniac
 * @Description: 实验VO类
 * @Date: 2019/9/20 5:49 下午
 * @Version:
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "实验VO",description = "存放着实验的各个字段")
public class ExperimentVO {
    //实验ID
    @ApiModelProperty(value = "实验ID",name = "experimentId",example = "10")
    private Integer experimentId;
    //实验名称
    @ApiModelProperty(value = "实验名",name = "experimentName",example = "实验一 如何成为像刘番薯一样的全仗工程师")
    private String experimentName;
    //实验详情ID
    @ApiModelProperty(value = "实验详情ID",name = "experimentDetailId",example = "22")
    private Integer experimentDetailId;
    //课程ID
    @ApiModelProperty(value = "课程ID",name = "courseId",example = "20")
    private Integer courseId;
    //实验文本内容
    @ApiModelProperty(value = "实验文本内容",name = "experimentText",example = "首先需要和wzb打好关系")
    private String experimentText;
    //实验附件文档
    @ApiModelProperty(value = "实验附件文档，以json格式给出，其中包括name、path两个字段",name = "experimentDetailFile",example = "{\"file\":[{\"name\":\"全仗工程师宝典\",\"path\":\"www.bucunzaide.com\"}]}")
    private String experimentDetailFile;
    //提交状态
    @ApiModelProperty(value = "提交状态",name = "recordStatus",example = "0(审核中) 1(通过审核) 2(未通过审核) 3(未提交过) 4(实验锁定中)")
    private Integer recordStatus;
    //提交人数
    @ApiModelProperty(value = "提交人数",name = "submitNumber",example = "10")
    private Integer submitNumber;
    @ApiModelProperty(value = "创建时间",name="createTime")
    @JsonProperty("time")
    private Date createTime;
}
